package com.even.service.impl;


import com.even.dao.AddrBookMapper;
import com.even.entity.AddrBook;
import com.even.service.IAddressService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by lenovo on 2018/3/24.
 */
@Service
public class IAddressServiceImpl implements IAddressService {
    @Resource
    AddrBookMapper addrBookServiceRemote;

    @Override
    public List<AddrBook> getAddrbook() {
        return addrBookServiceRemote.selectAll();
    }
    @Override
    public AddrBook selectByPrimaryKey(Long id){
        return addrBookServiceRemote.selectByPrimaryKey(id);
    }


}
